﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ArtemisTest
{
    public abstract class Script : Component
    {
        //protected IScriptEvent data;
        protected SystemsManager _sys;

        public abstract void Update(double dt);
        public abstract void Init();
        public abstract void OnEvent(ScriptEvent args);

        public Script(long uid, SystemsManager sys) : base(uid, ComponentType.script) { _sys = sys; Init(); }
    }
}
